/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.fee.facade.command.result.info;

import info.peigen.hotpot.business.fee.facade.enums.FeeProductCode;
import info.peigen.hotpot.common.core.lang.money.Money;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(FeeBillingInfo)</b>
 * 计费对象
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/8/21
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class FeeManageInfo {
    /** 被收费的客户 */
    String payerAccountId;
    /** 收费账户 */
    String payeeAccountId;
    /** 收费金额-包含币种 */
    @Builder.Default
    Money feeAmount        = Money.zero();
    /** 充电收费金额-包含币种 */
    @Builder.Default
    Money chargeFeeAmount  = Money.zero();
    /** 服务收费金额-包含币种 */
    @Builder.Default
    Money serviceFeeAmount = Money.zero();
    /** 收费产品码 */
    FeeProductCode code;
    /** memo */
    String         memo;
    String         feeLogId;
}